package com.easybuy.entity;

import java.util.Date;

public class Order {
	private int id;
	private int userId; //用户id
	private String loginName; 
	private String userAddress; //用户地址
	private Date createTime; //创建时间
	private float cost; //总消费
	private String seriaNumber; //订单号
	public Order() {
		super();
	}
	public Order(int userId, String loginName, String userAddress,
			Date createTime, float cost, String seriaNumber) {
		super();
		this.userId = userId;
		this.loginName = loginName;
		this.userAddress = userAddress;
		this.createTime = createTime;
		this.cost = cost;
		this.seriaNumber = seriaNumber;
	}
	public Order(int id, int userId, String loginName, String userAddress,
			Date createTime, float cost, String seriaNumber) {
		super();
		this.id = id;
		this.userId = userId;
		this.loginName = loginName;
		this.userAddress = userAddress;
		this.createTime = createTime;
		this.cost = cost;
		this.seriaNumber = seriaNumber;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getUserAddress() {
		return userAddress;
	}
	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public float getCost() {
		return cost;
	}
	public void setCost(float cost) {
		this.cost = cost;
	}
	public String getSeriaNumber() {
		return seriaNumber;
	}
	public void setSeriaNumber(String seriaNumber) {
		this.seriaNumber = seriaNumber;
	}
	
	
}
